package com.lv.service.impl;

import com.lv.mapper.TbGoodsDescMapper;
import com.lv.pojo.TbGoodsDesc;
import com.lv.service.GoodsDescService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@DubboService
public class GoodsDescServiceImpl implements GoodsDescService {

    @Resource
    private TbGoodsDescMapper dm;

    @Override
    public TbGoodsDesc getGoodsDescById(Long goodsId) {
        return dm.selectByPrimaryKey(goodsId);
    }
}
